/*
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

@import '../../../assets/styles/base/_colors.scss';
@import '../../../assets/styles/base/_variables.scss';

success {
    position: absolute;
    right: 1em;
    // height of the header plus abit more
    top: calc(63px + 1em);

    .container {
        position: relative;
        background: white;
        width: 250px;
        z-index: 200;
        border-radius: 0.25em;
        box-shadow: 0 0 5px $fifth-highlight;
        border: 1px solid $fourth-highlight;
        margin-bottom: $space-smedium;

        .close {
            position: absolute;
            right: $space-medium;
            top: $space-small;
            opacity: 0.5;

            &:hover {
              opacity: 1;
            }

            svg {
                fill :$secondary-text;
            }
        }

        .message {
            padding: $space-medium $space-medium 0 $space-medium;
            display: flex;
            margin-right: $space-medium;
            svg {
                fill: $first-highlight;
                width: 24px;
                height: 24px;
                margin-right: $space-medium;
            }
        
            .transaction-link {
                color:$tertiary-text;
                &:visited {
                    color:$tertiary-text;
                }
            }
        }
    }
}
